//
//  BaseProduct.h
//  iShop
//
//  Created by svp on 1/6/12.
//  Copyright 2012 __MyCompanyName__. All rights reserved.
//

#import <CoreData/CoreData.h>

@class BaseProductImage;
@class Brand;
@class Category;
@class Comment;
@class Product;

@interface BaseProduct :  NSManagedObject  
{
}

@property (nonatomic, retain) NSNumber * BaseRankCount;
@property (nonatomic, retain) NSString * BaseDescription;
@property (nonatomic, retain) NSNumber * BaseRankAVG;
@property (nonatomic, retain) NSString * BaseProductID;
@property (nonatomic, retain) NSString * BaseName;
@property (nonatomic, retain) NSSet* BaseProductImages;
@property (nonatomic, retain) Category * Category;
@property (nonatomic, retain) NSSet* Comments;
@property (nonatomic, retain) NSSet* Products;
@property (nonatomic, retain) Brand * Brand;


@end


@interface BaseProduct (CoreDataGeneratedAccessors)
- (void)addBaseProductImagesObject:(BaseProductImage *)value;
- (void)removeBaseProductImagesObject:(BaseProductImage *)value;
- (void)addBaseProductImages:(NSSet *)value;
- (void)removeBaseProductImages:(NSSet *)value;

- (void)addCommentsObject:(Comment *)value;
- (void)removeCommentsObject:(Comment *)value;
- (void)addComments:(NSSet *)value;
- (void)removeComments:(NSSet *)value;

- (void)addProductsObject:(Product *)value;
- (void)removeProductsObject:(Product *)value;
- (void)addProducts:(NSSet *)value;
- (void)removeProducts:(NSSet *)value;

@end

